www.gusucode.com > VC++ 高仿注册表编辑器-源码程序 > VC++ 高仿注册表编辑器-源码程序/code/注册表管理.cpp
//Download by http://www.NewXing.com // 注册表管理.cpp : Defines the class behaviors for the application. // #include "stdafx.h" #include "注册表管理.h" #include "注册表管理Dlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMyApp BEGIN_MESSAGE_MAP(CMyApp, CWinApp) //{{AFX_MSG_MAP(CMyApp) //}}AFX_MSG ON_COMMAND(ID_HELP, CWinApp::OnHelp) END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CMyApp construction CMyApp::CMyApp() { } ///////////////////////////////////////////////////////////////////////////// // The one and only CMyApp object CMyApp theApp; ///////////////////////////////////////////////////////////////////////////// // CMyApp initialization BOOL CMyApp::InitInstance() { // Standard initialization CMyDlg dlg; m_pMainWnd = &dlg; int nResponse = dlg.DoModal(); if (nResponse == IDOK) { } else if (nResponse == IDCANCEL) { } // Since the dialog has been closed, return FALSE so that we exit the // application, rather than start the application's message pump. return FALSE; }